﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;

namespace AppSocketModel
{

    /// <summary>
    /// 报警类型
    /// </summary>
    public enum AlarmType
    {
        /// <summary>
        /// 超速
        /// </summary>
        [Description("超速")]
        OverSpeed,
        /// <summary>
        /// 移动
        /// </summary>
        [Description("移动")]
        Move,
        /// <summary>
        /// 电子围栏越界
        /// </summary>
        [Description("电子围栏越界")]
        Fence,

        /// <summary>
        /// 电池电压低
        /// </summary>
        [Description("电池电压低")]
        LowPower,


        /// <summary>
        /// 光敏防拆
        /// </summary>
        [Description("光敏防拆")]
        Light,
    }

    /// <summary>
    /// 报警通知类型
    /// </summary>
    public enum AlarmNotifyType
    {
        /// <summary>
        /// 手机APP通知
        /// </summary>
        [Description("手机APP通知")]
        APP,
        /// <summary>
        /// 手机电话通知
        /// </summary>
        [Description("手机电话通知")]
        PHONE,
        /// <summary>
        /// 手机短信通知
        /// </summary>
        [Description("手机短信通知")]
        SMS,
    }

    /// <summary>
    /// 电子围栏报警类型
    /// </summary>
    public enum FenceAlarmType
    {
        /// <summary>
        /// 进入围栏报警
        /// </summary>
        [Description("进入围栏报警")]
        IN,

        /// <summary>
        /// 出围栏报警
        /// </summary>
        [Description("出围栏报警")]
        OUT,
    }
}
